<template>
	<view>
		<view class="tab-content">
			<text>未完成约看</text>
			<text>已完成约看</text>
		</view>
		<view class="list-content">
			<view class="content-rent-tab">
				<block v-for="(item,index) in list" :key="index">
					<view class="content-rent-tab-box">
						<view class="rent-box">
							<view>
								<image style="width: 234upx;height: 144upx;background-color: #2C405A;"></image>
							</view>
							<view class="rent-box-text">
								<text>合租·亚运城运动员村-北卧</text>
								<text>8.1㎡ | 3/9层</text>
								<view class="rent-image-text">
									<view class="rent-image-box">
										<image style="width: 14upx;height: 20upx;background-color: #2C405A;"></image>
									</view>
									<text>小区剧海傍地铁口步行282m</text>
									<view style="margin-left: 10upx;">
										<text>￥2880/月</text>
									</view>
								</view>
								<view class="rent-image-text">
									<view class="rent-image-box">
										<image style="width: 14upx;height: 20upx;background-color: #2C405A;"></image>
									</view>
									<text class="rent-image-text-text">预计2020-04/11可入住</text>
								</view>
							</view>
						</view>
						<view class="rent-button">
							<view class="rent-button">
								<button hover-class="" type="default" size="mini"  @click="shareFriend">分享</button>
								<button hover-class="" type="default" @click="">找相似{{ texts }}</button>
							</view>
						</view>
					</view>
					
				</block>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [1,2,3,4,5],
				text:[],
				texts:''
			}
		},
	}
</script>

<style>
	text:nth-child(1){
		color: #F59A23;
	}
	.tab-content {
		display: flex;
		justify-content: space-around;
		border-top: 2upx solid #F2F2F2;
		border-bottom: 2upx solid #F2F2F2;
		line-height: 80upx;
	}
	.tab-content text {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 28upx;
	}
	.list-content {
		display: flex;
		justify-content: center;
		width: 100%;
		height: 100%;
	}
	.list-content .content-rent-tab{
		padding: 25upx 5upx 0upx 5upx;
	}
	.content-rent-tab-box{
		border-bottom: 2upx solid #F2F2F2; padding-bottom:20upx; margin-bottom: 20upx;
		width: 710upx;
	}
	.content-rent-tab .rent-box{
		font-family: Arial, Helvetica, sans-serif;
		display: flex;
		justify-content: flex-start;
	}
	.content-rent-tab .rent-box .rent-box-text{
		display: flex;
		flex-direction: column;
		margin-left: 15upx;
		font-size: 20upx;
		color: #7F7F7F;
	}
	.rent-box-text text:nth-child(1){
		font-size: 28upx;
		color: #333333;
		font-weight: bold;
	}
	.content-rent-tab .rent-box .rent-box-text .rent-image-text{
		display: flex;
		justify-content: flex-start;
		align-items: center;
		width: auto;
	}
	.rent-image-text-text{
		font-size: 26upx;
		color: #F59A23;
		font-weight: normal;
	}
	.content-rent-tab .rent-box .rent-box-text .rent-image-text .rent-image-box{
		width: 14upx;height: 20upx;background-color: #2C405A; margin-right: 8upx;
	}
	.content-rent-tab .rent-box .rent-box-text .rent-image-text text:nth-child(1){
		font-size: 28upx;
		color: #F59A23;
		font-weight: normal;
	}
	.content-rent-tab .rent-button{
		display: flex;
		flex-direction: row-reverse;
	}
	.content-rent-tab .rent-button button{
		line-height: 45upx;
		font-size: 20upx;
		color: #555555;
		margin-left: 20upx;
	}
	button::after{
		background-color: rgba(255,255,255,0.1);
		color: #555555;
	}
</style>
